

<?php

include 'top.php';
include('class/clases.class.php');
$funciones = new clase1();


if(isset($_SESSION["usuario"])){
	if($_SESSION["categoria"]=='adm' && $_SESSION["estado"]=='1'){
		
		$funciones->imprime_pagina('adm_index.php', 'Bienvenido '.$_SESSION["usuario"], '0', '1');
		
	}else{
		$funciones->imprime_pagina('index.php', "Usted no tiene permiso para entrar a esa seccion.", '0', '1');
	}
}
?>

<table width="303" border="1" align="center">
  <form name="form1" action="./adm_index.php" method="post">
  <tr>
    <td  align="center" colspan="3" ><img src="img/logo.jpg" width="389" height="83" alt="Sistema de tareaje de ACOMPE S.A." /></td>
  </tr>
  <tr>
    <td width="71" align="right">DNI</td>
    <td width="144">
 <input name="dni" type="text" maxlength="8" class="pintadas"  />       
    </td>
  
  </tr>
  <tr>
    <td align="right">Clave</td>
    <td><input name="pass" type="password" maxlength="12" class="pintadas"/></td>
    <td align="center"><input type="submit" name="submit" class="pintadas" value="        validar!!        "  /></td>
  </tr>
 
  </form>
</table>




<?php

include 'down.php';

?>